package com.office.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.office.common.annotation.Excel;
import com.office.common.core.domain.BaseEntity;

/**
 * 入库记录管理对象 sys_stock_records
 * 
 * @author ruoyi
 * @date 2024-07-18
 */
public class SysStockRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 每条入库记录 */
    private Long recordId;

    /** office_id */
    @Excel(name = "office_id")
    private Long officeId;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long recordQuantity;

    /** 入库用户 */
    @Excel(name = "入库用户")
    private String recordOperator;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timestamp;

    /** 入库操作的备注 */
    private String recordNotes;

    /** 入库物品 */
    @Excel(name = "入库物品")
    private String recordName;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setOfficeId(Long officeId) 
    {
        this.officeId = officeId;
    }

    public Long getOfficeId() 
    {
        return officeId;
    }
    public void setRecordQuantity(Long recordQuantity) 
    {
        this.recordQuantity = recordQuantity;
    }

    public Long getRecordQuantity() 
    {
        return recordQuantity;
    }
    public void setRecordOperator(String recordOperator) 
    {
        this.recordOperator = recordOperator;
    }

    public String getRecordOperator() 
    {
        return recordOperator;
    }
    public void setTimestamp(Date timestamp) 
    {
        this.timestamp = timestamp;
    }

    public Date getTimestamp() 
    {
        return timestamp;
    }
    public void setRecordNotes(String recordNotes) 
    {
        this.recordNotes = recordNotes;
    }

    public String getRecordNotes() 
    {
        return recordNotes;
    }
    public void setRecordName(String recordName) 
    {
        this.recordName = recordName;
    }

    public String getRecordName() 
    {
        return recordName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("officeId", getOfficeId())
            .append("recordQuantity", getRecordQuantity())
            .append("recordOperator", getRecordOperator())
            .append("timestamp", getTimestamp())
            .append("recordNotes", getRecordNotes())
            .append("recordName", getRecordName())
            .toString();
    }
}
